<script lang="ts" setup>
import VueOfficePPTX from '@vue-office/pptx'

const { src } = defineProps({
  src: String,
})
</script>

<template>
  <div class="h-full w-full">
    <!-- <VueOfficePPTX src="https://videodocument1.obs.cn-north-9.myhuaweicloud.com/hsprl%2F20241111182747312100.pptx" /> -->
    <VueOfficePPTX class="h-full w-full" :src="decodeURIComponent(src)" />
  </div>
</template>

<style>
:deep(.vue-office-pptx-main) {
  height: 100%;
}
</style>
